package com.qf.dao;

import com.qf.pojo.po.XcOrder;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author lipengg
 * @date 2021/10/26
 */
@Mapper
public interface OrderMapper {
    List<XcOrder> findAll();

    int deleteOrderNoPay(List<XcOrder> orders);

    XcOrder findById(String valueOf);

    int updateOrder(XcOrder order);

    int addOrder(XcOrder xcOrder);

    int deleteOrder(@Param("orderId") String orderId);
}
